using System;
using Org.EasyWeb.Constraint;
using Org.EasyWeb.Exception;

namespace Org.EasyWeb.Right.Data
{
	public class LoginException : BaseException
	{
        private BaseErrorObject fErrorObject;

		public LoginException() : base(ExceptionType.Information)
		{
		}

		public LoginException(BaseErrorObject errorObject) : this()
		{
			ErrorObject = errorObject;
		}

		public BaseErrorObject ErrorObject
		{
			get
			{
				return fErrorObject;
			}
			set
			{
				fErrorObject = value;
			}
		}
	}
}
